package com.mingqijia.gassafety.webserver.response;


import com.mingqijia.gassafety.webserver.response.client.H5LogRes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName StrategyReportResponse.java
 * @Description TODO
 * @createTime 2023年12月20日
 */
@Data
@ApiModel(value="RunningStrategyReport对象", description="运行策略报告")
public class StrategyReportResponse {

    @ApiModelProperty(value = "报告状态 0-无报告，1-报告正在生成中，2-报告已生成")
    private Integer status;

    @ApiModelProperty(value = "设备号")
    private String imei;

    @ApiModelProperty(value = "报告日期 2023-12")
    private String reportDate;

    @ApiModelProperty(value = "客户id")
    private Integer consumerId;

    @ApiModelProperty(value = "服务到期状态：0：正常，1：设备即将超期，2：设备已超期")
    private Integer serviceStatus;

    @ApiModelProperty(value = "报警总次数")
    private Integer alarmNumber;

    @ApiModelProperty(value = "报警处理状态： 0：均已处理，1-存在未处理")
    private Integer alarmHandleStatus;

    @ApiModelProperty(value = "报警未处理次数")
    private Integer alarmUnprocessedNumber;

    @ApiModelProperty(value = "故障总次数")
    private Integer brokenNumber;

    @ApiModelProperty(value = "故障处理状态： 0：均已处理，1-存在未处理")
    private Integer brokenHandleStatus;

    @ApiModelProperty(value = "故障未处理次数")
    private Integer brokenUnprocessedNumber;

    @ApiModelProperty(value = "离线时长秒数，大于0代表有离线")
    private Long offlineTime;

    @ApiModelProperty(value = "离线时长中文")
    private String offlineTimeStr;

    @ApiModelProperty(value = "报警故障列表")
    private List<H5LogRes> alarmBorkenList;

}